package org.timemachine.query;

import java.util.ArrayList;
import java.util.List;

import javax.persistence.Query;

public class QueryEntity {

	private String sql;
	private String entityName;
	private String entityAlias;
	private String entityFieldName;
	private Query query;
	private List<QueryEntity> joinList = new ArrayList<QueryEntity>();

	public String getSql() {
		return sql;
	}

	public void setSql(String sql) {
		this.sql = sql;
	}

	public String getEntityName() {
		return entityName;
	}

	public void setEntityName(String entityName) {
		this.entityName = entityName;
	}

	public String getEntityAlias() {
		return entityAlias;
	}

	public void setEntityAlias(String entityAlias) {
		this.entityAlias = entityAlias;
	}

	public Query getQuery() {
		return query;
	}

	public void setQuery(Query query) {
		this.query = query;
	}

	public List<QueryEntity> getJoinList() {
		return joinList;
	}

	public void setJoinList(List<QueryEntity> joinList) {
		this.joinList = joinList;
	}

	public String getEntityFieldName() {
		return entityFieldName;
	}

	public void setEntityFieldName(String entityFieldName) {
		this.entityFieldName = entityFieldName;
	}

}
